package com.topc.problem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageResult;
import com.topc.problem.model.po.ProblemTagMid;

import java.util.List;


public interface IProblemTagMidService extends IService<ProblemTagMid>{

    List<Long> searchTagsToProblemIdPrecise(int pageSize,int pageIndex,List<Long> tagIds);

    List<Long> searchTagsToProblemIdNotPrecise(int pageSize,int pageIndex,List<Long> tagIds);

    List<Long> getProblemAllTags(Long problemId);

    void updateProblemTag(Long id, List<Long> tags);
}
